<div class="film_box">
    <div class="box_title">
        <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
        <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';
             }-->
             <!--{if $cat[icon]}-->
                <!--{eval $valueparse = parse_url($cat['icon']);}-->
                <!--{if !isset($valueparse['host'])}-->
                	<!--{eval $cat[icon] = $_G['setting']['attachurl'].'common/'.$cat[icon].'?'.random(6);}-->
                <!--{/if}-->
             <!--{else}-->
             	<!--{eval $cat[icon] = IMGDIR . "/icon_forum_default.png";}-->
             <!--{/if}-->
        <div class="left_title"><img src="{$cat[icon]}" width="28" height="26"/><span><a href="{if !empty($caturl)}$caturl{else}forum.php?name={echo locdau($cat[name]);}&gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}"><h2>$cat[name]</h2></a></span></div><!--End left_title-->
        <div class="right_title">
            <ul>
                 <!--{loop $cat[forums] $forumid}-->
                <!--{eval $forum=$forumlist[$forumid];}-->
                <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 
                'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
                <li><a href="$forumurl"{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if} onmouseover="showthis($cat[fid],$forumid)"><h3>$forum[name]</h3>
                    <!--{if $forum[todayposts] && !$forum['redirect']}-->
                    <em class="xw0 xi1 x-add">(<strong>$forum[todayposts]</strong>)</em>
                    <!--{/if}-->
                    </a></li>
                 <!--{/loop}-->
            </ul>
        </div><!--End right_title-->
    </div><!--End box_title-->
    <div class="film_item cl">
        <ul>
        	<!--{eval $n=0;}-->
        	<!--{loop $listpost_wforum[$keycat] $key $list_b}-->
            <!--{eval $n++}-->
            <li>
            <a href="forum.php?mod=viewthread&tid=$list_b[tid]" title="$list_b[subject] - {$list_b['message']}" >
            <!--{if $list_b['picatt']}-->
                <!--{eval $keypic = rawurlencode(md5($list_b['tid'].'|100|100'))}-->
                <img src="forum.php?mod=image&aid=$list_b['picatt']&size=100x100&key=$keypic&atid=$list_b['tid']"  alt="$list_b[subject]" title="$list_b[subject]" />
            <!--{elseif $list_b['picurl']}-->    
                <img src="$list_b['picurl']"  alt="$list_b[subject]" title="$list_b[subject]" />
            <!--{else}-->
                <!--{if $list_b['author']}-->
                    <!--{avatar($list_b[authorid],big)}-->
                <!--{else}-->
                <img src="{IMGDIR}/frame_avatar.gif" alt="$_G[setting][anonymoustext]" title="$_G[setting][anonymoustext]" />
                <!--{/if}-->
            <!--{/if}-->
            </a><!-- IMG Topic-->
            <a href="forum.php?mod=viewthread&tid=$list_b[tid]" title="$list_b[subject] - {$list_b['message']}" class="subject"><h4>$list_b[subject]</h4></a>
            </li>
            <!--{if $n==5}-->
                <!--{eval break;}-->
            <!--{/if}-->
            <!--{/loop}-->
        </ul>     
    </div><!--End film_item-->
    <div class="newsf_item">
        <ul class="cl pdbt5">
        	<!--{eval $n=0;}-->
        	<!--{loop $listpost_wforum[$keycat] $key $list_b}-->
            <!--{eval $n++}-->
            <!--{if $n > 5}-->
            <li><a href="forum.php?mod=viewthread&tid=$list_b[tid]" title="$list_b[subject]">{if $cat[icon]}<img src="{$cat[icon]}" width="10" height="10"/>{else}<img src="{IMGDIR}/icon_forum_default.png" width="10" height="10"/>{/if}<h4>{eval echo(messagecutstr($list_b['subject'], 52));}</h4></a> <span class="y"><!--{if $list_b['author']}-->
                        <a href="home.php?mod=space&username=$list_b['author']" class="no_bold" title="{if $list_b['author']}$list_b['author']{else}$_G[setting][anonymoustext]{/if}" c="1">$list_b['author']</a>
                    <!--{else}-->
                        $_G[setting][anonymoustext]
                    <!--{/if}-->
                    </span>
            <!--{/if}-->
            <!--{/loop}-->
        </ul>	     
    </div><!--End newsf_item-->
</div><!--End film_box-->